﻿
using cAlgo.API;

namespace cAlgo.MQ4
{
	static class Mq4Colors
	{
		public static Colors GetColorByInteger(int integer)
		{
			switch (integer)
			{
				case 16777215:
					return Colors.White;
				case 16448255:
					return Colors.Snow;
				case 16449525:
					return Colors.MintCream;
				case 16118015:
					return Colors.LavenderBlush;
				case 16775408:
					return Colors.AliceBlue;
				case 15794160:
					return Colors.Honeydew;
				case 15794175:
					return Colors.Ivory;
				case 16119285:
					return Colors.WhiteSmoke;
				case 15136253:
					return Colors.OldLace;
				case 14804223:
					return Colors.MistyRose;
				case 16443110:
					return Colors.Lavender;
				case 15134970:
					return Colors.Linen;
				case 16777184:
					return Colors.LightCyan;
				case 14745599:
					return Colors.LightYellow;
				case 14481663:
					return Colors.Cornsilk;
				case 14020607:
					return Colors.PapayaWhip;
				case 14150650:
					return Colors.AntiqueWhite;
				case 14480885:
					return Colors.Beige;
				case 13499135:
					return Colors.LemonChiffon;
				case 13495295:
					return Colors.BlanchedAlmond;
				case 12903679:
					return Colors.Bisque;
				case 13353215:
					return Colors.Pink;
				case 12180223:
					return Colors.PeachPuff;
				case 14474460:
					return Colors.Gainsboro;
				case 12695295:
					return Colors.LightPink;
				case 11920639:
					return Colors.Moccasin;
				case 11394815:
					return Colors.NavajoWhite;
				case 11788021:
					return Colors.Wheat;
				case 13882323:
					return Colors.LightGray;
				case 15658671:
					return Colors.PaleTurquoise;
				case 11200750:
					return Colors.PaleGoldenrod;
				case 15130800:
					return Colors.PowderBlue;
				case 14204888:
					return Colors.Thistle;
				case 10025880:
					return Colors.PaleGreen;
				case 15128749:
					return Colors.LightBlue;
				case 14599344:
					return Colors.LightSteelBlue;
				case 16436871:
					return Colors.LightSkyBlue;
				case 12632256:
					return Colors.Silver;
				case 13959039:
					return Colors.Aquamarine;
				case 9498256:
					return Colors.LightGreen;
				case 9234160:
					return Colors.Khaki;
				case 14524637:
					return Colors.Plum;
				case 8036607:
					return Colors.LightSalmon;
				case 15453831:
					return Colors.SkyBlue;
				case 8421616:
					return Colors.LightCoral;
				case 15631086:
					return Colors.Violet;
				case 7504122:
					return Colors.Salmon;
				case 11823615:
					return Colors.HotPink;
				case 8894686:
					return Colors.BurlyWood;
				case 8034025:
					return Colors.DarkSalmon;
				case 9221330:
					return Colors.Tan;
				case 15624315:
					return Colors.MediumSlateBlue;
				case 6333684:
					return Colors.SandyBrown;
				case 11119017:
					return Colors.DarkGray;
				case 15570276:
					return Colors.CornflowerBlue;
				case 5275647:
					return Colors.Coral;
				case 9662683:
					return Colors.PaleVioletRed;
				case 14381203:
					return Colors.MediumPurple;
				case 14053594:
					return Colors.Orchid;
				case 9408444:
					return Colors.RosyBrown;
				case 4678655:
					return Colors.Tomato;
				case 9419919:
					return Colors.DarkSeaGreen;
				case 11193702:
					return Colors.MediumAquamarine;
				case 3145645:
					return Colors.GreenYellow;
				case 13850042:
					return Colors.MediumOrchid;
				case 6053069:
					return Colors.IndianRed;
				case 7059389:
					return Colors.DarkKhaki;
				case 13458026:
					return Colors.SlateBlue;
				case 14772545:
					return Colors.RoyalBlue;
				case 13688896:
					return Colors.Turquoise;
				case 16748574:
					return Colors.DodgerBlue;
				case 13422920:
					return Colors.MediumTurquoise;
				case 9639167:
					return Colors.DeepPink;
				case 10061943:
					return Colors.LightSlateGray;
				case 14822282:
					return Colors.BlueViolet;
				case 4163021:
					return Colors.Peru;
				case 9470064:
					return Colors.SlateGray;
				case 8421504:
					return Colors.Gray;
				case 255:
					return Colors.Red;
				case 16711935:
					return Colors.Magenta;
				case 16711680:
					return Colors.Blue;
				case 16760576:
					return Colors.DeepSkyBlue;
				case 16776960:
					return Colors.Aqua;
				case 8388352:
					return Colors.SpringGreen;
				case 65280:
					return Colors.Lime;
				case 65407:
					return Colors.Chartreuse;
				case 65535:
					return Colors.Yellow;
				case 55295:
					return Colors.Gold;
				case 42495:
					return Colors.Orange;
				case 36095:
					return Colors.DarkOrange;
				case 17919:
					return Colors.OrangeRed;
				case 3329330:
					return Colors.LimeGreen;
				case 3329434:
					return Colors.YellowGreen;
				case 13382297:
					return Colors.DarkOrchid;
				case 10526303:
					return Colors.CadetBlue;
				case 64636:
					return Colors.LawnGreen;
				case 10156544:
					return Colors.MediumSpringGreen;
				case 2139610:
					return Colors.Goldenrod;
				case 11829830:
					return Colors.SteelBlue;
				case 3937500:
					return Colors.Crimson;
				case 1993170:
					return Colors.Chocolate;
				case 7451452:
					return Colors.MediumSeaGreen;
				case 8721863:
					return Colors.MediumVioletRed;
				case 13828244:
					return Colors.DarkViolet;
				case 11186720:
					return Colors.LightSeaGreen;
				case 6908265:
					return Colors.DimGray;
				case 13749760:
					return Colors.DarkTurquoise;
				case 2763429:
					return Colors.Brown;
				case 13434880:
					return Colors.MediumBlue;
				case 2970272:
					return Colors.Sienna;
				case 9125192:
					return Colors.DarkSlateBlue;
				case 755384:
					return Colors.DarkGoldenrod;
				case 5737262:
					return Colors.SeaGreen;
				case 2330219:
					return Colors.OliveDrab;
				case 2263842:
					return Colors.ForestGreen;
				case 1262987:
					return Colors.SaddleBrown;
				case 3107669:
					return Colors.DarkOliveGreen;
				case 9109504:
					return Colors.DarkBlue;
				case 7346457:
					return Colors.MidnightBlue;
				case 8519755:
					return Colors.Indigo;
				case 128:
					return Colors.Maroon;
				case 8388736:
					return Colors.Purple;
				case 8388608:
					return Colors.Navy;
				case 8421376:
					return Colors.Teal;
				case 32768:
					return Colors.Green;
				case 32896:
					return Colors.Olive;
				case 5197615:
					return Colors.DarkSlateGray;
				case 25600:
					return Colors.DarkGreen;
				case 0:
				default:
					return Colors.Black;
			}
		}
	}


}
